package com.glela.common.util;

import java.io.Serializable;

public class LoginSession implements Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private long userId;
	private String sessionKey;
	private String userName;
	private String email;
	private boolean isHaveOp;

	/**
	 * @return the email
	 */
	public String getEmail()
	{
		return email;
	}

	public boolean isHaveOp()
	{
		return isHaveOp;
	}

	public void setHaveOp(boolean isHaveOp)
	{
		this.isHaveOp = isHaveOp;
	}

	/**
	 * @return the sessionKey
	 */
	public String getSessionKey()
	{
		return sessionKey;
	}

	/**
	 * @return the userId
	 */
	public Long getUserId()
	{
		return userId;
	}

	/**
	 * @return the userName
	 */
	public String getUserName()
	{
		return userName;
	}

	/**
	 * @param email
	 *            the email to set
	 */
	public void setEmail(String email)
	{
		this.email = email;
	}

	/**
	 * @param sessionKey
	 *            the sessionKey to set
	 */
	public void setSessionKey(String sessionKey)
	{
		this.sessionKey = sessionKey;
	}

	/**
	 * @param userId
	 *            the userId to set
	 */
	public void setUserId(Long userId)
	{
		this.userId = userId;
	}

	/**
	 * @param userName
	 *            the userName to set
	 */
	public void setUserName(String userName)
	{
		this.userName = userName;
	}

}
